﻿<View 
    x:Class="Poet.Views.SearchTabbedView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:views="clr-namespace:Poet.Views">

    <View.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="..\Resources\XamlStore.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </View.Resources>
    <ScrollViewer VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto">
        <Grid>
            <TabControl Name="TabControl1">
                <TabItem Header="{Localizing Find}" Name="TabItem1" VerticalContentAlignment="Stretch" VerticalAlignment="Stretch">
                    <views:SearchView VerticalAlignment="Stretch" Background="Transparent"/>
                </TabItem>
				<TabItem Header="{Localizing Replace}" Name="TabItem2" VerticalContentAlignment="Stretch" VerticalAlignment="Stretch">
					<views:SearchView VerticalAlignment="Stretch" Background="Transparent" IsReplaceMode="True"/>
                </TabItem>
            </TabControl>
        </Grid>
    </ScrollViewer>
</View>